package com.trainbook.entity.DTO;

import com.trainbook.entity.DTO.middle.AddTrain_TrainSite;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: Dempsey
 * @Date: 2020/11/30 10:23
 * @Description:
 */
@Data
@ApiModel(value = "AddTrainDTO", description = "用于接收一个新的车次")
public class AddTrainDTO {

    @ApiModelProperty(value = "车次名")
    private String trainName;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "途径站点集")
    private List<AddTrain_TrainSite> addTrain_TrainSite;
}

